package com.xt.service;

import com.xt.bean.Article;
import com.xt.dto.ArticleListSearchDto;
import org.springframework.data.domain.Page;

/**
 * Created by XT on 2018/5/4.
 */
public interface ArticleService {
    void saveOrUpdateOne(Article c);

    void deleteOne(String id);

    Article getById(String id);

    Page<Article> getPage(ArticleListSearchDto dto);
}
